//
//  WWCharmDate.h
//  WhatWeather
//
//  Created by byn on 16/3/20.
//  Copyright © 2016年 byn. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WWCharmDate : NSObject

- (NSInteger)getYear;
- (NSInteger)getMonth;
- (NSInteger)getDay;
- (NSInteger)getWeekDay;
- (NSInteger)getHours;
- (NSInteger)getMinite;
- (NSInteger)getSecond;
+ (WWCharmDate *)createDateWithYear : (NSInteger)year month : (NSInteger)month day : (NSInteger)day hour : (NSInteger)hour minite : (NSInteger)minite second : (NSInteger)second calendarIdentifier : (NSString *)identifier;
+ (WWCharmDate *)createDateWithDataStr: (NSString *)dateStr withDataFormatter : (NSString *)dataFormatter;
- (void)addDays : (NSInteger)days;
- (void)addYear : (NSInteger)year;
- (void)addMonth : (NSInteger)month;
- (void)addHour : (NSInteger)hour;
- (void)addMinite : (NSInteger)minite;
- (void)addSecond : (NSInteger)second;

@end
